package com.lifa.service.impl;

import com.lifa.dao.XiaoFeiMXTableDao;
import com.lifa.entity.XiaoFeiMXTable;
import com.lifa.service.XiaoFeiMXTableService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class XiaoFeiMXTableServiceImpl implements XiaoFeiMXTableService{

    @Autowired
    private XiaoFeiMXTableDao xiaoFenMXTableDao;
    @Override
    public long getTotalCount(String xiaofeitabledanhao) {
        return xiaoFenMXTableDao.getTotalCount(xiaofeitabledanhao);
    }

    @Override
    public List<XiaoFeiMXTable> query(String xiaofeitabledanhao, int offset, int limit) {
        return xiaoFenMXTableDao.query(xiaofeitabledanhao,offset,limit);
    }
}
